from fastapi import APIRouter

# 创建一个 APIRouter 实例
user_router = APIRouter(
	prefix='/user',
	tags=['User']
)

@user_router.get('/')
def all_info():
	return  {"message": "This is all of user."}

@user_router.get('/details')
def detail():
	return  {"message": "This is a detail of user."}